package com.cams.backend.entity;

import java.time.LocalDate;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author cams
 * @since 2022-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 打卡编号
     */
    @TableId(value = "rid", type = IdType.AUTO)
    private Integer rid;

    /**
     * 员工账号
     */
    private Integer uid;

    /**
     * 员工姓名
     */
    private String uname;

    /**
     * 打卡时间
     */
    private LocalDateTime rtime;

    /**
     * 打卡状态（正常、迟到、早退）
     */
    private String rstate;

    /**
     * 打卡类型（上班、下班）
     */
    private String rtype;


}

